package com.ce.service;


import com.ce.entity.ProductCategory;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品类别表 服务类
 * </p>
 *
 * @author ce
 * @since 2022-02-22
 */
public interface ProductCategoryService extends IService<ProductCategory> {
    /**
     * @return list
     */
    public List<ProductCategory> getList(ProductCategory productCategory);

    /**
     * 添加商品分类
     *
     * @param productCategory
     * @return map
     */
    public Map<String, String> addProductCategory(ProductCategory productCategory);

    public Integer deleteById(Integer id);

    public Map<String, String> updateProductCategory(ProductCategory productCategory);
}
